package com.flyqiu.flow.core.candidate;

import com.flyqiu.flow.api.candidate.FlowCandidateContext;
import com.flyqiu.flow.bpmn.element.UserTask;
import com.flyqiu.flow.model.entity.ProcDeployDef;

public class DefaultFlowCandidateContext implements FlowCandidateContext {
    private final ProcDeployDef deployDef;
    private final UserTask userTask;

    public DefaultFlowCandidateContext(ProcDeployDef deployDef, UserTask userTask) {
        this.deployDef = deployDef;
        this.userTask = userTask;
    }

    @Override
    public ProcDeployDef getDeployDef() {
        return deployDef;
    }

    @Override
    public UserTask getUserTask() {
        return userTask;
    }
}
